package com.heima.test2;

public abstract class  Bird extends Animal{
    private String feed;
    public Bird() {
    }

    public Bird(String name, String feed) {
        super(name);
        this.feed = feed;
    }

    public String getFeed() {
        return feed;
    }

    public void setFeed(String feed) {
        this.feed = feed;
    }
}
